package com.music.download.perform;

import cn.hutool.core.util.ObjectUtil;
import cn.hutool.setting.dialect.Props;

/**
 * 读取配置文件
 */
public class PropUtil {
    private static Props conf = null;

    private PropUtil(){}

    public static Props getInstance() {
        if (ObjectUtil.isNull(conf)) {
            conf = new Props("config.properties");
        }
        return conf;
    }
}
